<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="x-rim-auto-match" content="none">
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>注册</title>
    <script type="text/javascript" src="/js/assets/jquery-3.1.0.min.js"></script>
    <style>
        html {
            font-size : 8px;
        }

        @media only screen and (min-height: 450px){
            html {
                font-size: 9px !important;
            }
        }
        @media only screen and (min-height: 490px){
            html {
                font-size: 10px !important;
            }
        }
        @media only screen and (min-height: 530px){
            html {
                font-size: 11px !important;
            }
        }
        @media only screen and (min-height: 570px){
            html {
                font-size: 12px !important;
            }
        }
        @media only screen and (min-height: 610px){
            html {
                font-size: 13px !important;
            }
        }
        @media only screen and (min-height: 650px){
            html {
                font-size: 14px !important;
            }
        }
        @media only screen and (min-height: 690px){
            html {
                font-size: 15px !important;
            }
        }
        @media only screen and (min-height: 730px){
            html {
                font-size: 16px !important;
            }
        }
        @media only screen and (min-height: 770px){
            html {
                font-size: 18px !important;
            }
        }
        html,
        body,
        div,
        img,ul {
            margin: 0;
            padding: 0;
        }
        li{
            list-style: none;
        }
        body{
            font-family: '微软雅黑';
            background: #F6F6F6;
            color: #A3A3A3;
        }
        div{
            box-sizing: border-box;
        }
        .position-bottom {
            height:5rem;
            position: absolute;
            width: 100%;
        }
        .enroll-btn {
            height: 4rem;
            width: 100%;
            background: #ff6966;
            font-size: 2rem;
            text-align: center;
            color: #fff;
            text-decoration: none;
            position: fixed;
            bottom: 0;
            line-height: 4rem;
            letter-spacing: 0.2rem;
        }
    </style>

</head>
<body style="margin: 0">
<div id='bgPic' style="background: url('/img/back-phone.png') no-repeat center;background-size: cover;width: 100%;position: relative">

    <!--<div style="width: 61%;height: 80px;margin-top: 2367px;margin-left: 18%;cursor:pointer;"></div>-->
    <a class='enroll-btn' href="javascript:void(0);" onclick="scanClick()">立即邀请</a>
</div>
<div class="position-bottom"></div>
</body>
<script>


    var w = document.documentElement.clientWidth;

    var bodyW=w+'px';
    $('body').width(bodyW);

    var bgPic=document.querySelector('#bgPic');
    var he=2387*w/750+'px';
    bgPic.style.height=he;

    function scanClick() {
        r="";
        r = decodeURI(window.location.href);
        r = r.substring(r.indexOf("?")+1,r.length);
        if(r==1){
            window.postMessage('invite');
        }else{
            scan('初融共盈');
        }
    }
</script>
</html>
